Worklist/Items({SerialNumber})/Actions/Sleep

Performs the system action to sleep a task the amount of time specified for the worklist item matching the SerialNumber.

URI

{Service Root URI}/Worklist/Items({SerialNumber})/Actions/Sleep?{Query Options}
https://api.denallix.com:443/K2Services/REST.svc/Worklist/Items(19_10)/Actions/Sleep? duration=2002-10-10T12:00:00−05:00

Method

GET

Service Path Options

Required
• SerialNumber (String) – the serial number for the worklist item

Query Options

Required

Optional

Return Type

Success/Failure

Return Example

GET /K2Services/REST.svc/Worklist/Items(19_10)/Actions/Sleep? duration=2002-10-10T12:00:00−05:00
					{Raw}                    HTTP/1.1 200 OK                    Cache-Control: private                    Content-Length: 0                    Server: Microsoft-IIS/7.5                    X-AspNet-Version: 2.0.50727                    Persistent-Auth: true                    X-Powered-By: ASPNET                    X-UA-Compatible: IE=EmulateIE7                    Date: Wed, 06 Jul 2011 21:36:24 GMT